Automattic\WooCommerce\GoogleListingsAndAds\API\Google\Settings S

Total Complexity 29
Dependencies 14
Dependents 3
Total lines 333
Lines of code 154
Logical lines of code 78
Comment lines 127
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
sync_shipping()
S
55 4 20
create_main_service()
S
54 2 22
sync_taxes()
S
58 2 17
create_rate_group_object()
S
58 1 17
should_sync_taxes()
S
70 2 6
get_times()
S
66 2 8
__construct()
S
81 1 3
get_store_state()
S
76 1 4
get_store_country()
S
76 1 4
get_shopping_service()
S
80 1 3
get_account_id()
S
81 1 3
get_merchant_id()
S
80 1 3
create_free_shipping_service()
S
66 1 8
has_free_shipping_option()
S
78 1 3
get_options_object()
S
80 1 3
get_free_shipping_minimum()
S
79 1 3
create_rate_groups()
S
79 1 3
create_time_object()
S
67 1 8
get_rates()
S
76 1 4
get_taxes()
S
72 1 6
should_sync_shipping()
S
79 1 3
get_settings()
S
80 1 3